package com.jbp.controller;

import java.util.Arrays;
import java.util.Map;


import com.jbp.model.PrizePool;
import com.jbp.model.Room;
import io.swagger.annotations.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import com.jbp.utils.PageUtils;
import com.jbp.utils.R;
import springfox.documentation.annotations.ApiIgnore;


/**
 * 奖池列表
 *
 * @author lucheng feng
 * @email retailers@gmail.com
 * @date 2020-06-26 13:49:50
 */
@Api("生成奖池")
@ApiIgnore
@RestController
@RequestMapping("/rest/prizepool")
public class PrizePoolController {

//    @ApiOperation(value="生成奖池",notes="生成奖池")
//    @ApiResponses({
//            @ApiResponse(code = 200,message = "成功",response = Room.class),
//            @ApiResponse(code = 201,message = "返回失败信息")
//    })
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "token",value = "token",paramType = "query"),
//            @ApiImplicitParam(name="sessionId",value = "sessionId",paramType = "query"),
//    })
//    @PostMapping("/generaPrizePool")
//    public R generatePrizePool(){
//        Integer maxPrizeNum = prizePoolService.getMaxPrizeNum();
//        prizePoolService.bulkInsert(maxPrizeNum);
//        return R.ok();
//    }
//    /**
//     * 列表
//     */
//    @RequestMapping("/list")
//    public R list(@RequestParam Map<String, Object> params){
//        PageUtils page = prizePoolService.queryPage(params);
//
//        return R.ok().put("page", page);
//    }

//
//    /**
//     * 信息
//     */
//    @RequestMapping("/info/{id}")
//    public R info(@PathVariable("id") Integer id){
//        PrizePool prizePool = prizePoolService.getById(id);
//
//        return R.ok().put("prizePool", prizePool);
//    }



}
